<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <h:outputStylesheet name="./css/newcss.css"/>
        <title><ui:insert name="title">Antons Skafferi</ui:insert></title>
    </h:head>
    <h:body>
         <div id ="header">
             <img id="img1" src="../resources/images/skafferi.png" width="100" height="50" alt="skafferi"/>  
         </div>

        <div id="wrapmenu">
                    <div id="menu">
                        <ul>
                            <li id="menu"><a class= "menua" href="#">Schema</a>
                                <ul>
                                    <li><h:form><h:commandLink action="visaSchema" value="Visa schema"></h:commandLink></h:form></li>
                                </ul>
                            </li>
                            
                            <li id="menu"><a href="#">Skafferi</a>
                                <ul>
                                    <li><h:form><h:commandLink action="createstock" value ="Lägg till inventarier"></h:commandLink></h:form></li>
                                    <li><h:form><h:commandLink action="liststock" value ="Visa inventarier"></h:commandLink></h:form></li>
                                </ul>
                            </li>

                            <li id="menu"><a href="#">Bokningar</a>
                                <ul>
                                    <li><h:form><h:commandLink action="index" value ="Visa bokningar"></h:commandLink></h:form></li>
                                </ul>  
                            </li>

                            <li id="menu">
                                <h:form><h:commandLink action="#{logoutBean.logout}" value="Logga ut"/></h:form>
                            </li>


                        </ul>

                    </div>
                </div>
        
        <p class="ptext">Inloggad som: #{request.remoteUser}</p>
          
        <div id="content">
            <ui:insert name="page">Content Here</ui:insert>
        </div>
        
    </h:body>

</html>
